﻿using UnityEngine;
using System.Collections;

namespace UI
{

    public class UICopyRank :Page
    {
        //排行
        public UILabel rankTxt;
        public UILabel playerTxt;
        public UILabel groupTxt;
        public UILabel totalPowerTxt;
        public UILabel totalStarTxt;


        public GameObject rankMyItem;
        public GameObject rankNo1Item;
        public GameObject rankNo2Item;
        public GameObject randNo3Item;
        public GameObject rankCommonItem;  //rank panel

        public UIGrid rankGrid;
        public UIScrollView rankScrollView;
        

        void Awake()
        {
            rankTxt.text = TableTextBlo.GetText( "rank" );
            playerTxt.text = TableTextBlo.GetText( "player" );
            groupTxt.text = TableTextBlo.GetText( "group" );
            totalPowerTxt.text = TableTextBlo.GetText( "battle_power" );
            totalStarTxt.text = TableTextBlo.GetText( "get_star" );
        }

        protected override void DoOpen()
        {
            base.DoOpen();
            //rankEvt = GetComponent<UICopyRankEvent>();


        }

        protected override void DoClose()
        {
            StopAllCoroutines();
        }

        public void Refresh()
        {

        }
    }
}